package com.luck.emp.entity;

import java.util.Date;

import com.luck.pf.util.DateUtil;
import com.luck.pf.util.FormateUtil;

/**
 * 说明:ENEITY类 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public class EmpTWhBalance implements java.io.Serializable {
	EmpTWhBalanceId id;
	/**
	 * 库区代码：最多2码
	 **/
	String areaCode;
	/**
	 * 货架编码：最多4码
	 **/
	String frameCode;
	/**
	 * 层数
	 **/
	Long layer;
	/**
	 * 本层储位编码：最多4码
	 **/
	String layerPosiCode;
	/**
	 * 良品数量
	 **/
	Long qty;
	/**
	 * 最小入库时间
	 **/
	Date inWh;
	/**
	 * 最小制造日期
	 **/
	Date made;
	/**
	 * 保质期到哪一天
	 **/
	Date lifeDate;
	/**
	 * 库存状态： 1－正常 9－盘点冻结
	 **/
	String status;
	/**
	 * 最后操作时间
	 **/
	Date modiDate;

	public EmpTWhBalance() {
	}

	public String getAreaCode() {
		return this.areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getFrameCode() {
		return this.frameCode;
	}

	public void setFrameCode(String frameCode) {
		this.frameCode = frameCode;
	}

	public Long getLayer() {
		return this.layer;
	}

	public void setLayer(Long layer) {
		this.layer = layer;
	}

	public String getLayerPosiCode() {
		return this.layerPosiCode;
	}

	public void setLayerPosiCode(String layerPosiCode) {
		this.layerPosiCode = layerPosiCode;
	}

	public Date getInWh() {
		return this.inWh;
	}

	public void setInWh(Date inWh) {
		this.inWh = inWh;
	}

	public Date getMade() {
		return this.made;
	}

	public void setMade(Date made) {
		this.made = made;
	}

	public Date getLifeDate() {
		return this.lifeDate;
	}

	public void setLifeDate(Date lifeDate) {
		this.lifeDate = lifeDate;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getModiDate() {
		return this.modiDate;
	}

	public void setModiDate(Date modiDate) {
		this.modiDate = modiDate;
	}

	public EmpTWhBalanceId getId() {
		return id;
	}

	public void setId(EmpTWhBalanceId id) {
		this.id = id;
	}


	public Long getQty() {
		return qty;
	}

	public void setQty(Long qty) {
		this.qty = qty;
	}

	public String getInWhStr() {
		return DateUtil.dateToString(this.inWh, DateUtil.patternA);
	}

	public String getMadeStr() {
		return DateUtil.dateToString(this.made, DateUtil.patternA);
	}

	public String getLifeDateStr() {
		return DateUtil.dateToString(this.lifeDate, DateUtil.patternA);
	}

	public String getModiDateStr() {
		return DateUtil.dateToString(this.modiDate, DateUtil.patternA);
	}

}